#ifndef TEXTPANEL_H
#define TEXTPANEL_H

#include <QtGui/QWidget>
#include "ui_textpanel.h"
#include "include/dto/3d/matrix.h"
#include "src/qtdata/NPropList.h"
#include "src/db/DbModule.h"
#include "glwidget.h"

class TextPanel : public QWidget
{
    Q_OBJECT

public:
    TextPanel(QWidget *parent = 0);
    ~TextPanel();

    void setPool(DataPool *_pool);
    void setGlwidget(GLWidget *widget);
    
public slots:
    void save();
    void filter();
    void load(QModelIndex index);
    
private:
    Ui::TextPanelClass ui;
    DataPool *pool;
    TextList *list;
    GLWidget *widget;
};

#endif // TEXTPANEL_H
